package com.znsd.stu.dao;

import java.util.List;

import org.apache.ibatis.annotations.Param;

import com.znsd.entitys.Leave;

public interface LeaveDao {
	
	public Integer addLeave(Leave leave);

	public Integer queryLimitUserLeaveCount(Integer integer);

	public List<Leave> queryLimitUserLeave(@Param("user_id")Integer user_id, @Param("pageIndex")Integer pageIndex,@Param("limit") Integer limit);

	public Integer updateQuxiao(Integer id);
}
